package cn.wjh.business.domain.vo;

import cn.wjh.common.valid.ValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class RegisterVo {
	@NotBlank(groups = ValidationGroup.Query.class, message = "邮箱不能为空!")
	private String email;
	@NotBlank(groups = ValidationGroup.Query.class, message = "邮箱验证码不能为空!")
	private String code;
	@NotBlank(groups = ValidationGroup.Query.class, message = "邮件主题不能为空!")
	private String title;
	@NotBlank(groups = ValidationGroup.Query.class, message = "密码不能为空!")
	private String password;
//	@NotBlank(groups = ValidationGroup.Query.class, message = "昵称不能为空!")
	private String nickname;
}
